package com.atguigu.yygh.enums;

/**
 * @description:枚举类
 * @author :又菜又爱玩的→速趴塞亚锦←
 * @create :2023/5/20
 * @param  :1.8
 */
public enum PaymentStatusEnum {
    UNPAID(1,"支付中"),
    PAID(2,"已支付"),
    REFUND(-1,"取消预约并退款成功");//这个被注释掉了，我就进来添加了这一行 原来是这个 (= REFUND(-1,"已退款"); =)

    private Integer status ;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    private String name ;

    PaymentStatusEnum(Integer status, String name) {
        this.status = status;
        this.name=name;
    }

}